<?php

class Web extends MY_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->service('Service_common');
    }

    /**
     * 通过前端dom解析抓取
     */
    public function index()
    {
        $this->Service_common->index();
    }

    /**
     * 通过接口请求抓取
     */
    public function api()
    {
        $this->Service_common->api();
    }
}